<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
		xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
		xmlns:aop="http://www.springframework.org/schema/aop"
		xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans-2.0.xsd
				http://www.springframework.org/schema/aop https://www.springframework.org/schema/aop/spring-aop-2.0.xsd">

	<bean id="requestScopedObject" class="org.springframework.beans.testfixture.beans.TestBean" scope="request">
		<aop:scoped-proxy/>
		<property name="name" value="scoped"/>
	</bean>

	<bean id="requestScopedProxy" class="org.springframework.beans.testfixture.beans.TestBean" scope="request">
		<aop:scoped-proxy proxy-target-class="false"/>
		<property name="name" value="scoped"/>
	</bean>

	<bean id="requestScopedDisposableObject" class="org.springframework.beans.testfixture.beans.DerivedTestBean" scope="request">
		<aop:scoped-proxy/>
		<property name="name" value="scoped"/>
	</bean>

	<bean id="requestScopedFactoryBean" class="org.springframework.beans.testfixture.beans.factory.DummyFactory" scope="request">
		<aop:scoped-proxy/>
	</bean>

	<bean id="requestScopedUniqueBean" class="org.springframework.beans.testfixture.beans.CountingTestBean" scope="request">
		<aop:scoped-proxy/>
	</bean>

	<bean id="requestScopedObjectCircle1" class="org.springframework.beans.testfixture.beans.TestBean" scope="request">
		<aop:scoped-proxy/>
		<property name="spouse" ref="requestScopedObjectCircle2"/>
	</bean>

	<bean id="requestScopedObjectCircle2" class="org.springframework.beans.testfixture.beans.TestBean" scope="request">
		<aop:scoped-proxy/>
		<property name="spouse" ref="requestScopedObjectCircle1"/>
	</bean>

	<bean id="outerBean" class="org.springframework.beans.testfixture.beans.TestBean">
		<property name="spouse">
			<bean id="scopedInnerBean" class="org.springframework.beans.testfixture.beans.TestBean" scope="request">
				<aop:scoped-proxy/>
				<property name="name" value="scoped"/>
			</bean>
		</property>
	</bean>

	<bean id="outerBeanWithAnonymousInner" class="org.springframework.beans.testfixture.beans.TestBean">
		<constructor-arg>
			<bean class="org.springframework.beans.testfixture.beans.TestBean" scope="request">
				<aop:scoped-proxy/>
				<property name="name" value="scoped"/>
			</bean>
		</constructor-arg>
	</bean>

</beans>
